package com.shxzz.easy12306.services.order.common.enums;

import lombok.Getter;

/**
 * 订单项状态枚举类
 * @author shxzz
 * @create 2024-03-09-20:13
 */
@Getter
public enum OrderItemStatus {
    PENDING_PAYMENT(0, "待支付"),

    ALREADY_PAID(10, "已支付"),

    ALREADY_PULL_IN(20, "已进站"),

    CLOSED(30, "已取消"),

    REFUNDED(40, "已退票"),

    RESCHEDULED(50, "已改签"),
    ;

    /**
     * 订单项状态
     */
    private final Integer status;

    /**
     * 订单项状态名称
     */
    private final String statusName;

    OrderItemStatus(Integer status, String statusName) {
        this.status = status;
        this.statusName = statusName;
    }
}
